package com.kingyun.gpsinspection.purificationservice.facade.model.jsm;



import com.kingyun.gpsinspection.purificationservice.common.poi.ExcelVOAttribute;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Yupeng on 2016/12/2.
 */
public class DeviceVo extends Device implements Serializable
{
    private static final long serialVersionUID = -6177819642763944815L;

    private OrgAreaVo orgArea;

    private String orgAreaName;

    private Organization org;

    @ExcelVOAttribute(name="所属机构",column = "C")
    private String orgName;

    private EntityType entityType;


    @ExcelVOAttribute(name="设备类型",column = "E")
    private String enTypeName;

    private String ntName;

    private Device parentDevice;

    private String pdName;

    private String statusName;

    private String manuName;

    private Manufactor  manufactor;

    //区域名称
    @ExcelVOAttribute(name="所属区域",column = "G")
    private String regionalMaintenanceName;


    private Integer maintenanceState;

    private List<String> orgIds; //下级组织集合IDS

    //查询用到的字段
    private String startTime;


    private String endTime;

    public OrgAreaVo getOrgArea() {
        return orgArea;
    }

    public void setOrgArea(OrgAreaVo orgArea) {
        this.orgArea = orgArea;
    }

    public String getOrgAreaName() {
        return orgAreaName;
    }

    public void setOrgAreaName(String orgAreaName) {
        this.orgAreaName = orgAreaName;
    }

    public Organization getOrg() {
        return org;
    }

    public void setOrg(Organization org) {
        this.org = org;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public EntityType getEntityType() {
        return entityType;
    }

    public void setEntityType(EntityType entityType) {
        this.entityType = entityType;
    }

    public String getEnTypeName() {
        return enTypeName;
    }

    public void setEnTypeName(String enTypeName) {
        this.enTypeName = enTypeName;
    }

    public String getNtName() {
        return ntName;
    }

    public void setNtName(String ntName) {
        this.ntName = ntName;
    }

    public Device getParentDevice() {
        return parentDevice;
    }

    public void setParentDevice(Device parentDevice) {
        this.parentDevice = parentDevice;
    }

    public String getPdName() {
        return pdName;
    }

    public void setPdName(String pdName) {
        this.pdName = pdName;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getManuName() {
        return manuName;
    }

    public void setManuName(String manuName) {
        this.manuName = manuName;
    }

    public Manufactor getManufactor() {
        return manufactor;
    }

    public void setManufactor(Manufactor manufactor) {
        this.manufactor = manufactor;
    }

    public List<String> getOrgIds() {
        return orgIds;
    }

    public String getRegionalMaintenanceName() {
        return regionalMaintenanceName;
    }

    public void setRegionalMaintenanceName(String regionalMaintenanceName) {
        this.regionalMaintenanceName = regionalMaintenanceName;
    }

    public void setOrgIds(List<String> orgIds) {
        this.orgIds = orgIds;
    }


    public Integer getMaintenanceState() {
        return maintenanceState;
    }

    public void setMaintenanceState(Integer maintenanceState) {
        this.maintenanceState = maintenanceState;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
